//
//  DYZSellerCell.m
//  DYZCars
//
//  Created by jdc on 16/8/20.
//  Copyright © 2016年 MF. All rights reserved.
//

#import "DYZSellerCell.h"
@interface DYZSellerCell()
@property (weak, nonatomic) IBOutlet UILabel *sellerNameLable;
@property (weak, nonatomic) IBOutlet UIImageView *sellerImageView;


@end
@implementation DYZSellerCell
- (IBAction)phoneNumberClick:(id)sender {
    if ([self.delegate respondsToSelector:@selector(sellerCell:)]) {
        [self.delegate sellerCell:self];
    }
}
/**
 *  赋值
 */
-(void)setCarsModel:(DYZNewCarsModel *)carsModel{
    _carsModel = carsModel;
    self.sellerNameLable.text = carsModel.sellerName;
    self.sellerPhoneNumber.text = @"13525673222";
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state
}

@end
